package com.smartystars.quizzerServer;

import java.io.Serializable;
import java.util.ArrayList;

/**
 * 
 * @author Dominik v.d.Heydt
 * 
 */
public class Question <V,K> implements Serializable{
	private K key;
	private V value;
	private ArrayList<String> answeres = new ArrayList<String>();
	private byte solution;
	
	public Question(final K key, final V value, ArrayList<String> answeres, byte solution){
		this.key = key;
		this.value = value;
		this.answeres = answeres;
		this.solution = solution;
	}
	
	public K getKey(){
		return key;
	}
	
	public V getValue(){
		return value;
	}
	
	public ArrayList<String> getAnsweres(){
		return answeres;
	}
	
	public byte getSolution(){
		return solution;
	}

}
